<!DOCTYPE html>
<html>
<head>
    <title>验证验证码</title>
    <style>
        .errorlist { color: red; }
    </style>
</head>
<body>
    <h2>请输入发送到 {{ phone }} 的验证码</h2>
    <form method="post">
        {% csrf_token %}
        {{ form.as_p }}
        <button type="submit">登录</button>
    </form>
    <p><a href="{% url 'login' %}">返回重新输入手机号</a></p>
</body>
</html>
